import { makeAutoObservable } from "mobx";
import Login from "./login";
import Test from "./test";

class Root {
  constructor() {
    makeAutoObservable(this)
    //测试模块化mobx
    this.test = new Test(this)
    //登陆模块
    this.login = new Login(this)
  }
}

const store = new Root()

export default store
